package com.ys.entity.purchase;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCG_PurchaseAddress", catalog="Id")
public class TcgPurchaseAddress extends BaseEntity<TcgPurchaseAddress> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="CreateUser", nameJava="createUser", typeDataBase="varchar")
	private String createUser;
	@YsField(nameDataBase="UpdateUser", nameJava="updateUser", typeDataBase="varchar")
	private String updateUser;
	@YsField(nameDataBase="Iid", nameJava="iid", typeDataBase="int")
	private Integer iid;
	@YsField(nameDataBase="Name", nameJava="name", typeDataBase="varchar")
	private String name;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="Address", nameJava="address", typeDataBase="varchar")
	private String address;
	@YsField(nameDataBase="Phone", nameJava="phone", typeDataBase="varchar")
	private String phone;
	@YsField(nameDataBase="VBank", nameJava="vBank", typeDataBase="varchar")
	private String vBank;
	@YsField(nameDataBase="VAccount", nameJava="vAccount", typeDataBase="varchar")
	private String vAccount;
	@YsField(nameDataBase="VTax", nameJava="vTax", typeDataBase="varchar")
	private String vTax;
	@YsField(nameDataBase="VJydz", nameJava="vJydz", typeDataBase="varchar")
	private String vJydz;
	@YsField(nameDataBase="VKpdz", nameJava="vKpdz", typeDataBase="varchar")
	private String vKpdz;
	@YsField(nameDataBase="VKpdh", nameJava="vKpdh", typeDataBase="varchar")
	private String vKpdh;
	@YsField(nameDataBase="VGsfr", nameJava="vGsfr", typeDataBase="varchar")
	private String vGsfr;
	@YsField(nameDataBase="VLxdh", nameJava="vLxdh", typeDataBase="varchar")
	private String vLxdh;
	@YsField(nameDataBase="VFax", nameJava="vFax", typeDataBase="varchar")
	private String vFax;
	@YsField(nameDataBase="VMuser", nameJava="vMuser", typeDataBase="varchar")
	private String vMuser;
	@YsField(nameDataBase="VRemark", nameJava="vRemark", typeDataBase="varchar")
	private String vRemark;
	@YsField(nameDataBase="BDeleted", nameJava="bDeleted", typeDataBase="bit")
	private Integer bDeleted;
	@YsField(nameDataBase="BOrg", nameJava="bOrg", typeDataBase="bit")
	private Integer bOrg;
	@YsField(nameDataBase="VGjH", nameJava="vGjH", typeDataBase="varchar")
	private String vGjH;
	@YsField(nameDataBase="VSfH", nameJava="vSfH", typeDataBase="varchar")
	private String vSfH;
	@YsField(nameDataBase="VDsH", nameJava="vDsH", typeDataBase="varchar")
	private String vDsH;
	@YsField(nameDataBase="VCqH", nameJava="vCqH", typeDataBase="varchar")
	private String vCqH;
	@YsField(nameDataBase="VDzH", nameJava="vDzH", typeDataBase="varchar")
	private String vDzH;
	@YsField(nameDataBase="VYbH", nameJava="vYbH", typeDataBase="varchar")
	private String vYbH;
	@YsField(nameDataBase="VFhr", nameJava="vFhr", typeDataBase="varchar")
	private String vFhr;
	@YsField(nameDataBase="VFhrSj", nameJava="vFhrSj", typeDataBase="varchar")
	private String vFhrSj;
	@YsField(nameDataBase="VFhrDh", nameJava="vFhrDh", typeDataBase="varchar")
	private String vFhrDh;
	@YsField(nameDataBase="VGjP", nameJava="vGjP", typeDataBase="varchar")
	private String vGjP;
	@YsField(nameDataBase="VSfP", nameJava="vSfP", typeDataBase="varchar")
	private String vSfP;
	@YsField(nameDataBase="VDsP", nameJava="vDsP", typeDataBase="varchar")
	private String vDsP;
	@YsField(nameDataBase="VCqP", nameJava="vCqP", typeDataBase="varchar")
	private String vCqP;
	@YsField(nameDataBase="VDzP", nameJava="vDzP", typeDataBase="varchar")
	private String vDzP;
	@YsField(nameDataBase="VYbP", nameJava="vYbP", typeDataBase="varchar")
	private String vYbP;
	@YsField(nameDataBase="VSpr", nameJava="vSpr", typeDataBase="varchar")
	private String vSpr;
	@YsField(nameDataBase="VSprSj", nameJava="vSprSj", typeDataBase="varchar")
	private String vSprSj;
	@YsField(nameDataBase="VSprDh", nameJava="vSprDh", typeDataBase="varchar")
	private String vSprDh;
	@YsField(nameDataBase="InvoiceType", nameJava="invoiceType", typeDataBase="varchar")
	private String invoiceType;
	@YsField(nameDataBase="InvoiceTypeName", nameJava="invoiceTypeName", typeDataBase="varchar")
	private String invoiceTypeName;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcgPurchaseAddress setId(Long id) {
		this.id = id;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public TcgPurchaseAddress setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getCreateUser() {
		return createUser;
	}
	public TcgPurchaseAddress setCreateUser(String createUser) {
		this.createUser = createUser;
		return this;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public TcgPurchaseAddress setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
		return this;
	}
	public Integer getIid() {
		return iid;
	}
	public TcgPurchaseAddress setIid(Integer iid) {
		this.iid = iid;
		return this;
	}
	public String getName() {
		return name;
	}
	public TcgPurchaseAddress setName(String name) {
		this.name = name;
		return this;
	}
	public String getCode() {
		return code;
	}
	public TcgPurchaseAddress setCode(String code) {
		this.code = code;
		return this;
	}
	public String getAddress() {
		return address;
	}
	public TcgPurchaseAddress setAddress(String address) {
		this.address = address;
		return this;
	}
	public String getPhone() {
		return phone;
	}
	public TcgPurchaseAddress setPhone(String phone) {
		this.phone = phone;
		return this;
	}
	public String getVBank() {
		return vBank;
	}
	public TcgPurchaseAddress setVBank(String vBank) {
		this.vBank = vBank;
		return this;
	}
	public String getVAccount() {
		return vAccount;
	}
	public TcgPurchaseAddress setVAccount(String vAccount) {
		this.vAccount = vAccount;
		return this;
	}
	public String getVTax() {
		return vTax;
	}
	public TcgPurchaseAddress setVTax(String vTax) {
		this.vTax = vTax;
		return this;
	}
	public String getVJydz() {
		return vJydz;
	}
	public TcgPurchaseAddress setVJydz(String vJydz) {
		this.vJydz = vJydz;
		return this;
	}
	public String getVKpdz() {
		return vKpdz;
	}
	public TcgPurchaseAddress setVKpdz(String vKpdz) {
		this.vKpdz = vKpdz;
		return this;
	}
	public String getVKpdh() {
		return vKpdh;
	}
	public TcgPurchaseAddress setVKpdh(String vKpdh) {
		this.vKpdh = vKpdh;
		return this;
	}
	public String getVGsfr() {
		return vGsfr;
	}
	public TcgPurchaseAddress setVGsfr(String vGsfr) {
		this.vGsfr = vGsfr;
		return this;
	}
	public String getVLxdh() {
		return vLxdh;
	}
	public TcgPurchaseAddress setVLxdh(String vLxdh) {
		this.vLxdh = vLxdh;
		return this;
	}
	public String getVFax() {
		return vFax;
	}
	public TcgPurchaseAddress setVFax(String vFax) {
		this.vFax = vFax;
		return this;
	}
	public String getVMuser() {
		return vMuser;
	}
	public TcgPurchaseAddress setVMuser(String vMuser) {
		this.vMuser = vMuser;
		return this;
	}
	public String getVRemark() {
		return vRemark;
	}
	public TcgPurchaseAddress setVRemark(String vRemark) {
		this.vRemark = vRemark;
		return this;
	}
	public Integer getBDeleted() {
		return bDeleted;
	}
	public TcgPurchaseAddress setBDeleted(Integer bDeleted) {
		this.bDeleted = bDeleted;
		return this;
	}
	public Integer getBOrg() {
		return bOrg;
	}
	public TcgPurchaseAddress setBOrg(Integer bOrg) {
		this.bOrg = bOrg;
		return this;
	}
	public String getVGjH() {
		return vGjH;
	}
	public TcgPurchaseAddress setVGjH(String vGjH) {
		this.vGjH = vGjH;
		return this;
	}
	public String getVSfH() {
		return vSfH;
	}
	public TcgPurchaseAddress setVSfH(String vSfH) {
		this.vSfH = vSfH;
		return this;
	}
	public String getVDsH() {
		return vDsH;
	}
	public TcgPurchaseAddress setVDsH(String vDsH) {
		this.vDsH = vDsH;
		return this;
	}
	public String getVCqH() {
		return vCqH;
	}
	public TcgPurchaseAddress setVCqH(String vCqH) {
		this.vCqH = vCqH;
		return this;
	}
	public String getVDzH() {
		return vDzH;
	}
	public TcgPurchaseAddress setVDzH(String vDzH) {
		this.vDzH = vDzH;
		return this;
	}
	public String getVYbH() {
		return vYbH;
	}
	public TcgPurchaseAddress setVYbH(String vYbH) {
		this.vYbH = vYbH;
		return this;
	}
	public String getVFhr() {
		return vFhr;
	}
	public TcgPurchaseAddress setVFhr(String vFhr) {
		this.vFhr = vFhr;
		return this;
	}
	public String getVFhrSj() {
		return vFhrSj;
	}
	public TcgPurchaseAddress setVFhrSj(String vFhrSj) {
		this.vFhrSj = vFhrSj;
		return this;
	}
	public String getVFhrDh() {
		return vFhrDh;
	}
	public TcgPurchaseAddress setVFhrDh(String vFhrDh) {
		this.vFhrDh = vFhrDh;
		return this;
	}
	public String getVGjP() {
		return vGjP;
	}
	public TcgPurchaseAddress setVGjP(String vGjP) {
		this.vGjP = vGjP;
		return this;
	}
	public String getVSfP() {
		return vSfP;
	}
	public TcgPurchaseAddress setVSfP(String vSfP) {
		this.vSfP = vSfP;
		return this;
	}
	public String getVDsP() {
		return vDsP;
	}
	public TcgPurchaseAddress setVDsP(String vDsP) {
		this.vDsP = vDsP;
		return this;
	}
	public String getVCqP() {
		return vCqP;
	}
	public TcgPurchaseAddress setVCqP(String vCqP) {
		this.vCqP = vCqP;
		return this;
	}
	public String getVDzP() {
		return vDzP;
	}
	public TcgPurchaseAddress setVDzP(String vDzP) {
		this.vDzP = vDzP;
		return this;
	}
	public String getVYbP() {
		return vYbP;
	}
	public TcgPurchaseAddress setVYbP(String vYbP) {
		this.vYbP = vYbP;
		return this;
	}
	public String getVSpr() {
		return vSpr;
	}
	public TcgPurchaseAddress setVSpr(String vSpr) {
		this.vSpr = vSpr;
		return this;
	}
	public String getVSprSj() {
		return vSprSj;
	}
	public TcgPurchaseAddress setVSprSj(String vSprSj) {
		this.vSprSj = vSprSj;
		return this;
	}
	public String getVSprDh() {
		return vSprDh;
	}
	public TcgPurchaseAddress setVSprDh(String vSprDh) {
		this.vSprDh = vSprDh;
		return this;
	}
	public String getInvoiceType() {
		return invoiceType;
	}
	public TcgPurchaseAddress setInvoiceType(String invoiceType) {
		this.invoiceType = invoiceType;
		return this;
	}
	public String getInvoiceTypeName() {
		return invoiceTypeName;
	}
	public TcgPurchaseAddress setInvoiceTypeName(String invoiceTypeName) {
		this.invoiceTypeName = invoiceTypeName;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcgPurchaseAddress setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcgPurchaseAddress setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcgPurchaseAddress setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcgPurchaseAddress tcgPurchaseAddress(
		String guid,
		String createUser,
		String updateUser,
		Integer iid,
		String name,
		String code,
		String address,
		String phone,
		String vBank,
		String vAccount,
		String vTax,
		String vJydz,
		String vKpdz,
		String vKpdh,
		String vGsfr,
		String vLxdh,
		String vFax,
		String vMuser,
		String vRemark,
		Integer bDeleted,
		Integer bOrg,
		String vGjH,
		String vSfH,
		String vDsH,
		String vCqH,
		String vDzH,
		String vYbH,
		String vFhr,
		String vFhrSj,
		String vFhrDh,
		String vGjP,
		String vSfP,
		String vDsP,
		String vCqP,
		String vDzP,
		String vYbP,
		String vSpr,
		String vSprSj,
		String vSprDh,
		String invoiceType,
		String invoiceTypeName,
		Integer status
			) {
		TcgPurchaseAddress entity = new TcgPurchaseAddress();
		entity.setGuid(guid);
		entity.setCreateUser(createUser);
		entity.setUpdateUser(updateUser);
		entity.setIid(iid);
		entity.setName(name);
		entity.setCode(code);
		entity.setAddress(address);
		entity.setPhone(phone);
		entity.setVBank(vBank);
		entity.setVAccount(vAccount);
		entity.setVTax(vTax);
		entity.setVJydz(vJydz);
		entity.setVKpdz(vKpdz);
		entity.setVKpdh(vKpdh);
		entity.setVGsfr(vGsfr);
		entity.setVLxdh(vLxdh);
		entity.setVFax(vFax);
		entity.setVMuser(vMuser);
		entity.setVRemark(vRemark);
		entity.setBDeleted(bDeleted);
		entity.setBOrg(bOrg);
		entity.setVGjH(vGjH);
		entity.setVSfH(vSfH);
		entity.setVDsH(vDsH);
		entity.setVCqH(vCqH);
		entity.setVDzH(vDzH);
		entity.setVYbH(vYbH);
		entity.setVFhr(vFhr);
		entity.setVFhrSj(vFhrSj);
		entity.setVFhrDh(vFhrDh);
		entity.setVGjP(vGjP);
		entity.setVSfP(vSfP);
		entity.setVDsP(vDsP);
		entity.setVCqP(vCqP);
		entity.setVDzP(vDzP);
		entity.setVYbP(vYbP);
		entity.setVSpr(vSpr);
		entity.setVSprSj(vSprSj);
		entity.setVSprDh(vSprDh);
		entity.setInvoiceType(invoiceType);
		entity.setInvoiceTypeName(invoiceTypeName);
		entity.setStatus(status);
		return entity;
	}
}